Readsteps default is by progressing from 0 to 100, which makes great for percentage. Also notice that with 100 readsteps there's almost
no loss compared to reading the file in one go, so it is the recommended value.
The greater the readsteps, the more time it will take to read the file and the more precision the percentage will have. Usually 100 should be enough.
If the readsteps are greater than the filesize, it will clamp to fileSize as readsteps.
That means it will update at every byte
If bytes == 0, it will use readsteps.
Readsteps default is by progressing from 0 to 100, which makes great for percentage. Also notice that with 100 readsteps there's almost no loss compared to reading the file in one go, so it is the recommended value.
The greater the readsteps, the more time it will take to read the file and the more precision the percentage will have. Usually 100 should be enough.
If the readsteps are greater than the filesize, it will clamp to fileSize as readsteps. That means it will update at every byte